using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SqlSugar;

namespace Keep.Model.Page;

public class PageResult<T>
{
    /// <summary>
    /// 当前页
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public int PageNo { get; set; }
    /// <summary>
    /// 页容量
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public int PageSize { get; set; }
    /// <summary>
    /// 总页数
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public int Pages { get; set; }
    /// <summary>
    /// 总条数
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public int Total { get; set; }
    /// <summary>
    /// 数据
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public IList<T> Rows { get; set; }
}
